# Delete Document library
Use this format to remove a document library. The filename should contain DeleteDoclib and format is xls(x)/csv.
The following columns are required:
Url or MatterCode
Permanent (optional)
The deleted document library is moved to the recycle bin. If the column Permanent contains a TRUE/YES value, the document library is also removed from the recycle bin.
If a MatterCode is specified, the my matterlist entries and the matterlist entry is also removed.